class CreateMemberCards < ActiveRecord::Migration
  def change
    create_table :member_cards do |t|
      t.integer :customer_id
      t.string :code
      t.float :account, default: 0 
      t.float :integral, default: 0
      t.float :coupon, default: 0

      t.timestamps null: false
    end
  end
end
